package com.iafme.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.iafme.dto.req.RedemptionReqDTO;
import com.iafme.model.Redemption;

/**
 * @author summer
 * @version 1.0
 * @date 2025/4/15 15:11
 */
public interface RedemptionService extends IService<Redemption> {

    /**
     * 保存兑换码
     * @param redemptionReqDTO
     */
    void saveRedemption(RedemptionReqDTO redemptionReqDTO);

    void updateRedemptionStatus(RedemptionReqDTO redemptionReqDTO);

    void checkRedemption(String code);
}
